/**
 * $Header: /data/cvs/esmcol/src/java/com/gs/sitecore/common/dbutil/support/DataPage.java,v 1.1.2.1 2006/11/08 04:36:54 xuzhaohui Exp $ 
 * $Revision: 1.1.2.1 $ 
 * $Date: 2006/11/08 04:36:54 $ 
 * 
 * ==================================================================== 
 * 
 * Copyright (c) 2006 Media Data Systems Pte Ltd All Rights Reserved. 
 * This software is the confidential and proprietary information of 
 * Media Data Systems Pte Ltd. You shall not disclose such Confidential 
 * Information. 
 * 
 * ==================================================================== 
 * 
 */

package com.tianbing.adlottery.util;

import java.io.Serializable;
import java.util.List;

/**
 * DataPage stores DB query result, without further info: max rows, total row
 * count, etc.
 * 
 * @author Jimmy Shi
 * @version $Id: DataPage.java,v 1.1.2.1 2006/11/08 04:36:54 xuzhaohui Exp $
 */
public class DataPage implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1372974550099723553L;

	/**
	 * The query result.
	 */
	protected List result;

	private Integer totalCount;

	private Integer pgno;

	private Integer pgsize;

	public Integer getPgno() {
		return pgno;
	}

	public void setPgno(Integer pgno) {
		this.pgno = pgno;
	}

	public Integer getPgsize() {
		return pgsize;
	}

	public void setPgsize(Integer pgsize) {
		this.pgsize = pgsize;
	}

	public List getResult() {
		return result;
	}

	public void setResult(List result) {
		this.result = result;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

}
